package org.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @Author: whopxx
 * @CreateTime: 2025-01-04
 */
@RestController
@RequestMapping
public class TestController {

    @GetMapping("/i")
    public String i(@RequestParam(required = false) String name) {
        return "hello," + name;
    }
}
